package com.lighthouse.common.enums;

/**
 * 文档状态枚举
 *
 * @author ysz
 * @date 2024/1/8 10:06
 */
public enum DocStatus {
    DRAFT("0","草稿"), UNREVIEWED("1","待审核"), PUBLISHED("2","已发布"), ARCHIVE("3","存档"), DELETED("4","已删除");

    private final String code;
    private final String info;

    DocStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
